package com.ts.enterprise.module.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.enterprise.module.user.entity.WorkerInfo;
import com.ts.enterprise.module.user.vo.WorkerTagSortVO;
import com.ts.enterprise.module.user.vo.WorkerTagVO;
import com.ts.enterprise.module.user.vo.WorkerShowSkillVO;
import com.ts.enterprise.module.user.vo.WorkerSkillVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Dean
 * @since 2021-10-18
 */
@Mapper
public interface WorkerInfoMapper extends BaseMapper<WorkerInfo> {


    List<WorkerTagVO> listWorkTagByWorkerId(@Param("workerId") Integer workerId, @Param("showTypes")List<Integer> showTypes);

    List<WorkerSkillVO> listSkillByWorkerId(@Param("workerId") Integer workerId);

    List<WorkerTagSortVO> listWorkSortTagByWorkerId(@Param("workerId") Integer workerId, @Param("showTypes")List<Integer> showTypes);

}
